package com.o2o.controller.local;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * package_name:com.o2o.controller.local
 * Author:徐亚远
 * Date:2019/12/26 16:01
 * 项目名:o2o
 * Desription:
 **/
@Controller
@RequestMapping("/local")
public class LocalController {
    /*
    * 绑定账户路由
    * @return
    * */
    @RequestMapping(value = "/accountbind",method = RequestMethod.GET)
    private String accountBind(){
        return "/local/ownerbind";
    }
    /*
    * 修改密码页路由
    * @rreturn
    * */
    @RequestMapping(value = "/changelocalpsw",method = RequestMethod.GET)
    private String changePsw(){
        return "/local/changepsw";
    }
    /*
     * 登陆页面路由到店家管理页面/shopAdmin/shoplist
     *@rteturn
     * */
    @RequestMapping(value = "/login",method = RequestMethod.GET)
    private String login(){
        return "/local/ownerlogin";
    }
}
